<#--
/**
 * Copyright 2012 Claude Houle claude.houle@gmail.com
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
-->
.uic-tree,
.uic-tree-node,
.uic-tree-node-children,
.uic-tree-node-caption,
.uic-tree-leaf {
	background-color:transparent;
	display:block;
}

.uic-tree{
	.uic-tree-node{
		.uic-tree-node-caption-base{
			background-color:@color_gray_lightest;
			color:@color_blue_darkest;
			cursor:pointer;
			font-size:0.813em;
			height:1.692em;
			overflow:hidden;
			padding-left:1.875em;
			padding-top:0.385em;
			vertical-align:middle;
			white-space:nowrap;
			margin-bottom:0.231em;
		}

		.uic-tree-node-caption{
			.uic-tree-node-caption-base;
			background-color:@color_gray_lightest;
			background-image: url(/img/arrow_right_black.png);
			background-position: 0.538em 0.692em;
			background-repeat: no-repeat;

			&:hover{
				background-color:@color_gray_light;
			}
		}

		.uic-tree-node-expanded{
			background-image: url(/img/arrow_down_black.png);
		}

		.uic-tree-node-selected {
			color:@color_blue_darkest;
			font-weight:bold;
		}

		.uic-tree-node-children{
			padding:0em;
			position:relative;

			a.uic-tree-leaf{
				color:@color_blue_darkest;
				cursor:pointer;
				text-decoration:none;
				font-size:0.75em;
				height:1.692em;
				overflow:hidden;
				padding-left:2.308em;
				padding-top:0.385em;
				vertical-align:middle;
				white-space:nowrap;
				margin-bottom:0.231em;

				&:hover{
					background-color:@color_gray_light;
				}
			}

			a.uic-tree-leaf-selected,
			a.uic-tree-leaf-selected:hover{
				.uic-tree-leaf;
				background-color:@color_blue_dark;
				color:@color_white;
				font-weight:bold;
			}
		}
	}

	.uic-tree.uic-disabled{
		.uic-tree-leaf:hover{
			background-color:white;
			cursor:default;
		}

		.uic-tree-node-caption:hover{
			background-color:@color_gray_lightest;
			cursor:default;
		}
	}
}
